package demo;

import java.io.*;

public class Test2 {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new FileReader("Day13\\c.txt"));
        BufferedWriter bw = new BufferedWriter(new FileWriter("Day13\\d.txt"));

        char [] chars = new char[1024];
        int len ;
        while ((len = br.read(chars))!=-1){
            bw.write(chars,0,len);
            bw.flush();
        }
        br.close();
        bw.close();
    }
}
